@extends('layouts.admin')

@section('admin-content')
    <div class="box work-order">
        <div class="widget-box transparent">
            <div class="widget-header">
                <h4 class="lighter">{{ trans("strings.project.level.".config("constants.project.level.test")) }}</h4>
            </div>
            @foreach($testProjects as $project)
                <a class="btn btn-inline btn-info"
                   href="{{url('task/create/'.$project->id)}}">{{ $project->name }}</a>
            @endforeach
        </div>
        <br>
        <div class="widget-box transparent">
            <div class="widget-header">
                <h4 class="lighter">{{ trans("strings.project.level.".config("constants.project.level.product")) }}</h4>
            </div>
            @foreach($productProjects as $project)
                <a class="btn btn-inline btn-success"
                   href="{{url('task/create/'.$project->id)}}">{{ $project->name }}</a>
            @endforeach
        </div>
        <br>
    </div>
@endsection